package com.sgb.kjwl.view.ui.adapter.pricecheck;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.kjwl.model.entity.pricecheck.CommonStAttrEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class StAttributeChildAdapter extends BaseRecycleAdapter<CommonStAttrEntity.ChildListBean> {

    public StAttributeChildAdapter(Context context, List<CommonStAttrEntity.ChildListBean> datas) {
        super(context, R.layout.item_st_attribute_child, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final CommonStAttrEntity.ChildListBean entity) {
        holder.setBinding(BR.viewModel, entity);
        holder.itemView.setClickable(true);
    }

}
